-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix padding in mqttapi::make_mqtt_pkt #136
base: master
Are you sure you want to change the base?
Conversation
@mtoner23 so are you saying that even with this code you are unable to send prints to the printer from Prusa when having |
Sorry bad phrasing. With this code I can send prints via prusaslicer to the webserver. I was trying to send manual gcode for something else which exposed this issue in the constructor. |
Here is an example traceback without this change:
This is an example result with the change in place:
|
This is also fixed in PR #145 in a way which supports both Ankermake M5 and M5C printers, see d9af577 . You can try the fork at https://github.com/anselor/ankermake-m5-protocol/tree/exiles which integrates this PR and a number of other pending ones. |
I tried sending gcode over mqtt and this errored out. even with this fix the printer doesnt respond to the gcode but maybe thats my user error. since we have no clue what this field does i think its fine to do what we were doing before the previous fix; send all zeros.